package com.atguigu.gmall.pay.service;

import com.alipay.api.AlipayApiException;
import com.atguigu.gmall.pay.vo.PayParamsVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.stereotype.Service;


public interface PayService {


    String payOrder(PayParamsVo vo) throws Exception;

    Boolean queryOrderStatus(String outTradeNo) throws JsonProcessingException, AlipayApiException;

    void sendPaySuccessMessage(String out_trade_no) throws JsonProcessingException;

}
